/** ###################################################################
**     Filename  : led.C
**     Project   : led
**     Processor : 56F8013VFAE
**     Version   : Driver 01.14
**     Compiler  : Metrowerks DSP C Compiler
**     Date/Time : 2012-3-8, 21:43
**     Abstract  :
**         Main module.
**         This module contains user's application code.
**     Settings  :
**     Contents  :
**         No public methods
**
** ###################################################################*/
/* MODULE led */


/* Including needed modules to compile this module/procedure */
#include "Cpu.h"
#include "Events.h"
#include "PWM2.h"
#include "PWM3.h"
#include "PWM4.h"
/* Including shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"

unsigned int i;



void main(void)
{
  /* Write your local variable definition here */

  /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
  PE_low_level_init();
  /*** End of Processor Expert internal initialization.                    ***/
  PWM4_Init();
  /* Write your code here */
  
 // IO1_Init();
  
//  Bit1_ClrVal();
  
  PWM2_Enable();

  PWM3_Enable();
//PWM1_Enable()

  for(;;) {
  
  //Bit1_PutVal(TRUE);
//  for(i=0;i<=0xffff;i++)
//  {
  	PWM3_SetRatio16(500);
  	PWM2_SetRatio16(65530);  	
//  }



  
 // Bit1_NegVal();
  

  }
}

/* END led */
/*
** ###################################################################
**
**     This file was created by Processor Expert 3.00 [04.35]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/
